html,body{
	height: 100%;
}
/*主页布局*/
#homeDiv{
	height: 100%;
	width: 1000px;
	/*background-color:white ;*/
	margin: 0 auto;
	border-radius: 5px;
}
/*好友列表*/
#list_of_friendsDiv{
	width: 280px;
	height: 100%;
	/*background-color: black;*/
	float: left;
}
/*好友列表的头*/
#list_headDiv{
	width: 100%;
	height: 125px;
	background-color: #444;
	float: left;
}
/*设置头像*/
#list_headImgDiv{
	height:40px;
	width: 40px;
	border-radius: 5px;
	background-color: black;
	margin: 15px 0 10px 15px;
	cursor: pointer;
	float: left;
}
/*设置名字*/
#list_headNameDiv{
	height:40px;
	width: 175px;
	font-size:20px;
	font-weight: bold;
	word-spacing: 5px;
	color: white;
	line-height: 40px;
	float: left;
	font-family:'Microsoft YaHei',"宋体",Arial,'Times New Roman',SimHei; 
	/*background-color: blue;*/
	margin: 15px 0 10px 10px;
	outline: none;
}
#list_headFriendCircleImgDiv{
	height: 40px;
	width: 25px;
	float: left;
	margin: 15px 0 10px 0;
	background: url(../img/friendwhite.png) no-repeat center bottom;
	cursor: pointer;
}
/*设置搜索框*/
#list_headSearchDiv{
	height: 20px;
	width: 100%;
	/*background: white;*/
	float: left;
}
#list_headSearchInput{
	height: 20px;
	width: 220px;
	margin-left: 15px;
	border: 0px;
	padding: 0px;
	outline: none;
	float: left;
	border-radius:5px 0 0 5px;
	padding: 0 5px 0 5px;
	background-color: #666;
	color:#EEEEEE;
}
#list_headSearchInput::-webkit-input-placeholder{
	color:#EEEEEE;
}
#list_headSearchDelButton{
	height:20px;
	width: 20px;
	float: left;
	outline: none;
	border: 0px;
	line-height: 20px;
	cursor: pointer;
	border-radius:0 5px 5px 0;
	background: url(../img/delete.png) no-repeat center center;
	background-size: 12px 12px;
	background-color: #666;
}
/*设置搜索框候选列表*/
#list_headSearchListDiv{
	width: 250px;
	height: 30px;
	background-color: rgba(238,238,238,0.8);
	margin-left:15px;
	margin-top: 20px;
	float: left;
	position: fixed;
	border-radius: 5px;
	display: none;
	overflow: auto;
}
#list_headSearchListDiv li{
	height: 30px;
	width: 230px;
	padding:0 10px 0 10px;
	line-height: 30px;
	box-shadow: 0 -1px 1px #444 inset;
	cursor: pointer;
	border-radius: 5px;
}
#list_headSearchListDiv li:hover{
	background-color: rgba(255,255,255,0.8);
}
/*候选列表混动条  */
#list_headSearchListDiv::-webkit-scrollbar{
	width: 5px;
	background-color: #666;	
}
#list_headSearchListDiv::-webkit-scrollbar-thumb{
	-webkit-box-shadow: inset 0 0 5px #888;
}
/*设置列表按钮*/
#list_headCardDiv{
	width: 100%;
	height: 30px;
	float: left;
}
.list_headCardDiv{
	width: 93px;
	height: 100%;
	float: left;
	background-color: #444;
	margin-top: 10px;
}
.list_headCardDiv:hover{
	cursor: pointer;
}
#list_headCardDiv>:nth-child(1){
	background: url(../img/chat.png) no-repeat center center;
	background-color: #555;
}
#list_headCardDiv>:nth-child(1):hover{
	background-color: #555;
}
#list_headCardDiv>:nth-child(2){
	background: url(../img/user_list_24.png) no-repeat center center;
}
#list_headCardDiv>:nth-child(2):hover{
	background-color: #555;
}
#list_headCardDiv>:nth-child(3){
	background: url(../img/group_240px.png) no-repeat center center;
	width: 94px;
}
#list_headCardDiv>:nth-child(3):hover{
	background-color: #555;
}
/*设置列表按钮菜单*/
.list_headCardMenuDiv{
	height: 25px ;
	width: 93px;
	background: #777;
	float: left;
	z-index: 2;
	position: fixed;
	margin: 40px 0 0 93px;
	cursor: pointer;	
	font-family:'Microsoft YaHei',"宋体",Arial,'Times New Roman',SimHei; 
	color: #ddd;
	font-size: 15px ;
	display: none;
}
#list_headCardMenuDiv2{
	height: 25px;
	width: 94px;
	margin: 40px 0 0 186px;
}
.list_headCardMenuDiv>ul>li{
	box-shadow: 0 -1px 1px #444 inset;
	height: 25px;
	line-height: 25px;
	padding-left: 10px;
}
.list_headCardMenuDiv>ul>li:hover{
	background-color: #888;
}
/*好友列表主体*/
#list_bodyDiv{
	width: 100%;
	float: left;
	/*background-color: black;*/
	background-color: #555;
}
.list_bodyDiv{
	width: 100%;
	height: 100%;
	display: none;
	overflow: auto;
}
.list_bodyDiv:nth-child(1){
	display: block;
}
/*好友列表选项*/
#list_bodyDiv1 ul li:hover{
	background-color: #666;
}
ul{
	list-style: none;
	margin: 0px;
	padding: 0px;
}
/*聊天列表*/
#list_bodyDiv1 ul li{
	height: 60px;
	/*background-color: white;*/
	/*border-bottom:2px solid black ;*/
	box-shadow: 0 -1px 1px #444 inset;
	cursor: pointer;
}
#list_bodyDiv .list_bodyImgDiv{
	height:40px;
	width: 40px;
	border-radius: 5px;
	background-color: black;
	margin: 10px 10px 10px 15px;
	cursor: pointer;
	float: left;
}
#list_bodyDiv .list_bodyName{
	height: 18px;
	width: 150px;
	margin: 10px 0 0 0;
	float: left;
	/*background-color: blue;*/
	padding: 0 0 2px 0;
	line-height: 18px;
	color: #eee;
	font-weight: bold;
	font-size: 13px;
	font-family:'Microsoft YaHei',"宋体",Arial,'Times New Roman',SimHei; 
}
#list_bodyDiv .grouplist_bodyName{
	text-align:center;
	height: 18px;
	width: 100%;
	margin: 10px 0 0 0;
	float: left;
	/*background-color: blue;*/
	padding: 0 0 2px 0;
	line-height: 18px;
	color: #eee;
	font-weight: bold;
	font-size: 13px;
	font-family:'Microsoft YaHei',"宋体",Arial,'Times New Roman',SimHei; 
}
#list_bodyDiv .list_bodyTime{
	height: 18px;
	width: 50px;
	margin: 10px 0 0 0;
	float: left;
	/*ackground-color: blue;*/
	padding: 0 0 2px 0;
	line-height: 18px;
	color: #999;
	font-size: 13px;
	font-family:'Microsoft YaHei',"宋体",Arial,'Times New Roman',SimHei; 
	text-align: right;
}
#list_bodyDiv .list_bodyMeg{
	height: 18px;
	width: 200px;
	float: left;
	/*background-color: red;*/
	padding: 2px 0 0 0;
	line-height: 18px;
	color: #999;
	font-weight: bold;
	font-size: 13px;
	font-family:'Microsoft YaHei',"宋体",Arial,'Times New Roman',SimHei; 
}
.list_bodyChoiceA,.list_bodyChoiceB{
	text-align:center;
	width:50px;
	height:20px;	
	background-color: #777;
	float:left;
	border-radius:5px;
	margin-right:30px;
	color:#eee;
}
.grouplist_bodyChoiceA,.grouplist_bodyChoiceB{
	text-align:center;
	width:50px;
	height:20px;	
	background-color: #777;
	float:left;
	border-radius:5px;
	margin-right:30px;
	color:#eee;
}
.list_bodyChoiceA:hover,.list_bodyChoiceB:hover{
	background-color: #555;
}
.list_bodyChoice{
	width:200px;
	height: 20px;
	/* background-color: white; */
	float:left;
}
.grouplist_bodyChoice{
	width:200px;
	height: 20px;
	/* background-color: white; */
	margin-left:65px;
	float:left;
}
/*好友列表*/
#list_bodyDiv2 ul li{
	height: 25px;
	box-shadow: 0 -1px 1px #444 inset;
	cursor: pointer;
	font-size: 13px;
	font-family:'Microsoft YaHei',"宋体",Arial,'Times New Roman',SimHei;
	line-height: 25px;
}
#list_bodyDiv2 ul li ul li{
	height: 60px;
	box-shadow: 0 -1px 1px #444 inset;
	cursor: pointer;
	float: left;
}
/*设置箭头图片*/
.list_bodyImgRightDiv2{
	height: 25px;
	width: 25px;
	margin:0 10px 0 10px;
	background: url(../img/arrows_right.png) no-repeat center center;
	background-size: 10px 10px;
	float: left;
}
.list_bodyImgDownDiv2{
	height: 25px;
	width: 25px;
	margin:0 10px 0 10px;
	background: url(../img/arrows_down.png) no-repeat center center;
	background-size: 10px 10px;
	float: left;
}
#list_bodyDiv2>ul>li{
	background-color: #555;
	color: #bbb;
	font-weight: bold;
	font-family:'Microsoft YaHei',"宋体",Arial,'Times New Roman',SimHei; 
}
#list_bodyDiv2>ul>li:nth-child(even){
	display: none;
}
#list_bodyDiv2 ul li ul li:hover{
	background-color: #666;
}
#list_bodyDiv2 .list_bodyName{
	height: 40px;
	width: 215px;
	margin: 10px 0 0 0;
	float: left;
	/*background-color: blue;*/
	line-height: 40px;
	color: #eee;
	font-weight: bold;
	font-size: 15px;
	font-family:'Microsoft YaHei',"宋体",Arial,'Times New Roman',SimHei; 
}
#list_bodyDiv2 .list_bodyImgDiv{
	height:40px;
	width: 40px;
	border-radius: 5px;
	background-color: black;
	margin: 10px 10px 10px 15px;
	cursor: pointer;
	float: left;
}
/*设置好友菜单  */
#friendListToMenu{
	height:75px;
	width:80px;
	background-color:#666;
	position: fixed;
	line-height:25px;
	z-index: 100;
	color:#eee;
	cursor: pointer;
	text-align: center;
}
#friendListToMenu div{
	height: 25px;
	width:100%;
	border-bottom: 1px solid #111; 
}
#friendListToMenu div select{
	height: 25px;
	width:100%;
	border: 0px;
	outline: none;
}
#friendListToMenu div:HOVER{
	background-color:#777;
}
/*设置滚动条样式*/
.list_bodyDiv::-webkit-scrollbar{
	width: 5px;
	background-color: #666;	
}
.list_bodyDiv::-webkit-scrollbar-thumb{
	-webkit-box-shadow: inset 0 0 5px #888;
}
/*群组列表 */
#list_bodyDiv #list_bodyDiv3 ul li{
	height: 60px;
	/*background-color: white;*/
	/*border-bottom:2px solid black ;*/
	box-shadow: 0 -1px 1px #444 inset;
	cursor: pointer;
	padding:0 15px 0 15px;
}
#list_bodyDiv #list_bodyDiv3 ul li:HOVER{
	background-color: #666;
}
#list_bodyDiv #list_bodyDiv3 ul li .list_bodyName{
	margin:0px;
	height: 60px;
	line-height: 60px;
	width:100%;
	color:#eee;
	text-align: center;
}
/*聊天窗口*/
#chatDiv{
	width: 720px;
	height: 100%;
	background-color: #eee;
	float: left;
}
#chatNameDiv{
	height: 53px;
	width: 100%;
	text-align: center;
	line-height: 53px;
}
#chatDiv hr{
	margin: 0 auto;
	border: 1px solid #ddd;
	width: 99%;
}

#chatBodyDiv{
	height: 400px;
	width: 100%;
}
.chatBodyDiv{
	width: 100%;
	height: 100%;
	overflow: auto;
}
#chatBodyDiv .chatMessageLeftDiv{
	width:80%;
	/* background-color: #DDD; */
	margin: 10px 0 0 10px;
	float: left;
}
#chatBodyDiv .chatMessageRightDiv{
	margin: 10px 10px 0 0;
	float: right;
}
.chatBodyDiv::-webkit-scrollbar{
	width: 5px;
	background-color: #ddd;	
}
.chatBodyDiv::-webkit-scrollbar-thumb{
	-webkit-box-shadow: inset 0 0 5px #999;
}
#chatBodyDiv .chatMessageLeftDiv .chatMessageTimeDiv{
	width:100%;
	height:15px;
	font-size:10px;
	color:#888;
}
#chatBodyDiv .chatMessageRightDiv .chatMessageTimeDiv{
	width:100%;
	height:15px;
	font-size:10px;
	color:#888;
	text-align: right;
}
#chatBodyDiv .chatMessageLeftDiv .chatMessageInfoDiv{
	word-wrap:break-word;
}
#chatBodyDiv .chatMessageRightDiv .chatMessageInfoDiv{
	word-wrap:break-word;
}
#chatInputDiv textarea,#chatGroupInputDiv textarea{
	outline: none;
	border: 0px; 
	height: 110px;
	width: 680px;
	margin:20px 10px 10px 20px;
	padding: 0px;
	background-color: #eee;
	resize:none;
	font-size:20px;
	font-family:'Microsoft YaHei',"宋体",Arial,'Times New Roman',SimHei; 
}
#chatInputDiv #sendMesButton,#chatGroupInputDiv #sendGroupMesButton{
	border:0px;
	background-color:#888;
	height:25px;
	width:60px;
	border-radius:5px;
	left: 640px;
	cursor: pointer;
	/* top:200px; */
	position: relative;
}

/*查看或修改信息的页面*/
#userInfoDiv{
	height: 100%;
	width: 100%;
	background-color: rgba(1,1,1,0.8);
	font-family:'Microsoft YaHei',"宋体",Arial,'Times New Roman',SimHei;
	position: fixed;
	display: none;
}
#userInfoDiv #userInfoChildDiv{
	height: 500px;
	width:300px;
	background-color: white;
	top: 50%;
	left: 50%;
	margin-top: -250px;
	margin-left: -175px;
	position: fixed;
}
#userInfoDiv #userInfoHeadDiv{
	height: 100px;
	width: 100%;
	background-color: #555;
	margin-bottom: 10px;
}
#userInfoDiv #userInfoImgDiv{
	width: 80px;
	height:80px;
	background-color: #444444;
	margin:10px;
	float: left;
}
#userInfoDiv #userInfoNameDiv{
	width: 190px;
	height: 80px;
	background-color:#555;
	margin: 10px 10px 10px 0;
	text-align:center;
	line-height:80px;
	color:#eee;
	float: left;
}
#userInfoDiv #userInfoCCDiv{
	width: 280px;
	margin: 0 10px 0 10px;
}
#userInfoDiv input{
	margin-bottom: 10px;
	height: 20px;
	outline: none;
	padding-left:5px ;
}
#userInfoDiv input[type=file]{
	display: none;
}
#userInfoDiv input[type=text]{
	width: 211px;
	border:1px solid #ddd ;
	border-radius: 5px;
	box-shadow: 1px 1px 1px #444 inset;
	/*border: 0px;*/
}
#userInfoDiv input[type=date]{
	width: 210px;
	height: 22px;
	border:1px solid #ddd ;
	border-radius: 5px;
	box-shadow: 1px 1px 1px #444 inset;
	float: left;
	/*border: 0px;*/
}
#userInfoDiv input[type=radio]{
	float: left;
	margin-right: 30px;
}
#userInfoDiv select{
	width: 107px;
	margin-bottom: 10px;
	height: 26px;
	border:1px solid #ddd ;
	border-radius: 5px;
	box-shadow: 1px 1px 1px #444 inset;
	outline: none;
}
#userInfoDiv .userInfoFontDiv{
	height: 20px;
	width: 50px;
	float: left;
	text-align: justify;
	text-align-last: justify;
	margin-right: 10px;
	margin-bottom: 10px;
}
#userInfoDiv .userInfoFontSexDiv{
	height: 20px;
	width: 20px;
	float: left;
	text-align: justify;
	text-align-last: justify;
	margin-left: 30px;
	margin-bottom: 10px;
}
#userInfoDiv button{
	width: 100%;
	height: 30px;
	outline: none;
	border: 0px;
	background-color: #555;
	border-radius:5px ;
	cursor: pointer;
	margin-top: 30px;
}
#userInfoDiv button:hover{
	background-color: #666;	
}
/*添加好友界面*/
#searchFriendDiv{
	height: 100%;
	width: 100%;
	background-color: rgba(1,1,1,0.8);
	font-family:'Microsoft YaHei',"宋体",Arial,'Times New Roman',SimHei;
	position: fixed;
	display: none;
}
#searchFriendDiv #searchFriendChildDiv{
	height:500px;
	width:800px;
	background-color: white;
	top: 50%;
	left: 50%;
	margin-top: -250px;
	margin-left: -400px;
	position: fixed;
	float:left;
}
#searchFriendDiv #searchBoxDiv{
	height:152px;
	width:100%;
	background-color:#555;
	color:#eee;
	float:left;
}
#searchFriendDiv #searchBoxDiv #searchFriendForm input{
	padding:0 5px 0 5px;
	width:300px;
	height:30px;
	float:left;
	border: 0px;
	margin: 0px;
	border-radius:10px 0px 0px 10px;
	outline: none;
	font-size: 20px;
	margin-left:215px; 
	margin-top: 61px; 
}
#searchFriendDiv #searchBoxDiv #searchFriendSubmit{
	height:30px;
	width:60px;
	float:left;
	outline: none;
	border: 0px;
	font-family:'Microsoft YaHei',"宋体",Arial,'Times New Roman',SimHei;
	color:#eee;
	border-radius:0 10px 10px 0;
	line-height: 30px;
	text-align: center;
	cursor: pointer;
	font-size: 18px;
	background-color: #888;
	margin-top:61px; 
}
#searchFriendDiv #searchBoxDiv #searchFriendSubmit:HOVER{
	cursor: pointer;
	background-color: #777;
}
#searchFriendDiv #searchResultDiv{
	height:348px;
	width:100%;
	background-color: #eee;
	float:left;
}
#searchFriendDiv #searchResultDiv ul li{
	height:87px;
	width:200px;
	float:left;
	background-color:#999;
	box-shadow: 0 -1px 1px #444 inset;
	cursor: pointer;
}
#searchFriendDiv #searchResultDiv ul li:hover{
	background-color:#888;
}
#searchFriendDiv .searchResultImgDiv{
	height:71px;
	width:71px;
	margin:8px 5px 8px 8px;
	float:left;
	/*background-color: black;*/
}
#searchFriendDiv .searchResultNameDiv{
	height:87px;
	width:90px;
	/* background-color: black; */
	float:left;
	line-height: 87px;
	word-wrap:break-all;
}
#searchFriendDiv .searchResultAddButtonDiv{
	height:26px;
	width:26px;
	margin:30px 0 31px 0;
	text-align:center;
	line-height: 26px;
	font-size:25px;
	font-weight: bold;
	float: left;
	/* background-color: red; */
}
/*设置滚动条样式*/
#searchFriendDiv #searchResultDiv::-webkit-scrollbar{
	width: 5px;
	background-color: #666;	
}
#searchFriendDiv #searchResultDiv::-webkit-scrollbar-thumb{
	-webkit-box-shadow: inset 0 0 5px #888;
}